package com.sz.mapper;

import com.sz.model.OnlineBank;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Component;
import tk.mybatis.mapper.common.Mapper;

@Component
public interface OnlineBankMapper extends Mapper<OnlineBank> {

    //登录
    public OnlineBank getUser(@Param("un") String un, @Param("up") String up);

    //Id获取网银账号
    public OnlineBank getUserById(@Param("obid") int obid);

    //获取网银账号
    public OnlineBank getUserByIdCard(@Param("idcard") String idcard, @Param("name") String name);
}